#ifndef EMAIL_ADDRESS_H
#define EMAIL_ADDRESS_H

#include "Attribution.h"
#include "MailBox.h"
#include "Group.h"

namespace email{

	class Address : public Attribution
	{
	private:
		MailBox mailbox;
		Group group;
	public:
		MailBox &getMailBoxRef() {return mailbox;}
		Group &getGroupRef() {return group;}
		virtual void parse(QString str){}
		virtual QString toString(){return "";}
		virtual void toDisplayString(QXmlStreamWriter & writer){}
		virtual void toXMLString(QXmlStreamWriter & writer){}
	};

}

#endif